package p2psim.node;

public class Message {

	public static enum TYPE {
		LOOKUP,
		JOIN,
		LEAVE
	};

	private TYPE msgType;

	private int value;//simplified msg content.

	public TYPE getMsgType() {
		return msgType;
	}

	public void setMsgType(TYPE msgType) {
		this.msgType = msgType;
	}

	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}


}
